package com.wwl.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wwl.dao.UploadfileMapper;
import com.wwl.entity.Uploadfile;
@Service
public class UploadfileService {
	@Resource
	UploadfileMapper uploadfileMapper;
	
	public int insert(Uploadfile uploadfile){
		return uploadfileMapper.insertSelective(uploadfile);
	}
	
	public int update(Uploadfile uploadfile){
		return uploadfileMapper.updateByPrimaryKeySelective(uploadfile);
	}
	
	public int updateTime(Uploadfile uploadfile){
		return uploadfileMapper.updateTime(uploadfile);
	}
	
	public int updateTimeCard(Uploadfile uploadfile){
		return uploadfileMapper.updateTimeCard(uploadfile);
	}
	
	public int msgSet(Uploadfile uploadfile){
		return uploadfileMapper.msgSet(uploadfile);
	}
	
	public Uploadfile userid(Uploadfile uploadfile){
		return uploadfileMapper.userid(uploadfile);
	}
	
	public Uploadfile getid(Uploadfile uploadfile){
		return uploadfileMapper.getid(uploadfile);
	}
	
	public List<Uploadfile> Uopendoor(String userid){
		return uploadfileMapper.Uopendoor(userid);
	}
	
	public List<Uploadfile> selectCard(Map<String,Object> map){
		return uploadfileMapper.selectCard(map);
	}
	
	public List<Uploadfile> chsuserinformation(){
		return uploadfileMapper.chsuserinformation();
	}
}
